// form表单配置
export const majorFormConfig = {
  type: 1,
  // 下拉框的选项，isFuzzyQuery是否为模糊查询选项
  selectOptions: [
    { label: '课程名称', value: 'course_name', isFuzzyQuery: true },
    { label: '所属专业', value: 'major_name', isFuzzyQuery: true },
    { label: '所属学院', value: 'college_name', isFuzzyQuery: true }
  ]
}

// table表格配置
export const majorTableProps = {
  pageName: 'major',
  moduleName: 'selectCourseModule',
  tableColumnProps: [
    { prop: 'course_name', label: '课程名称', width: 150, slotName: 'course_name' },
    { prop: 'teacher_name', label: '授课教师' },
    { prop: 'major_name', label: '所属专业', width: 120 },
    { prop: 'college_name', label: '所属学院', width: 120 },
    { prop: 'credit', label: '学分', width: 70 },
    { prop: 'lesson_period', label: '课时', width: 70 },
    { prop: 'remaining', label: '剩余可选人数', slotName: 'remaining' },
    { prop: 'location', label: '上课地点' },
    { prop: 'type', label: '课程类型', slotName: 'type', width: 100 },
    { prop: 'choose_limit', label: '选课限制', width: 80, slotName: 'choose_limit' },
    { prop: 'handle', label: '操作', width: 150, slotName: 'handle' }
  ],
  storeMommand: {
    pageListGetterName: ''
  }
}